Treadmill walking in varying external environments